<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/personal.css">
    <style>
        .content ul li em {
            width: 12%;
            margin-right: 0;
        }

        .content ul #chufang {
            margin-bottom: 200px;
        }
        .nurse{
            position: absolute;
            left: 11%;
        }
        .doc{
            position: absolute;
            left: 40%;
        }
    </style>
</head>

<body>
    <div class="content">
        <div class="content_header">
            <strong>我的处方</strong>
        </div>
        <ul>
            <li><span>姓名：</span><em>Tony</em><span>性别：</span><em>男</em><span>年龄：</span><em>34</em></li>
            <li><span>科室名：</span><em>骨科</em><span>诊断医生：</span><em>王医生</em></li>
            <li class="noUnderline clear" id="chufang"><span>处方：</span>
                <p>胶囊早期什么什么什么是什么什么是什么什什么什么是什么什么什么是什么</p>
            </li>
            <li class="noUnderline clear"><span>备注：</span>
                <p>请问台湾人土地上发发士大夫问问对方沟通阿尔发发的范畴的测测</p>
            </li>
        </ul>
        <div class="bot">
            <span class="nurse">护士：<em>王护士</em></span>
            <span class="doc">审核医生：<em>王医生</em></span>
            <span class="datetime">时间：<em>2018-12-4</em></span>
        </div>
    </div>
</body>
<script>
    var oDes = document.getElementsByTagName("p")[0];
    var oBot = document.getElementsByClassName("bot")[0];
    var oDateTime = oBot.getElementsByClassName("datetime")[0];
    var oDoc = document.getElementsByTagName("em")[4];
    oDes.innerHTML = localStorage.getItem("illness");
    oDoc.innerHTML = localStorage.getItem("doctor");
    oDateTime.innerHTML = localStorage.getItem("createTime");
</script>
</html>